export default{
    userLogin(data){
        return reqPost.call(this,'login',data)
    },
    userLogout(){
        return reqPost.call(this,'logout')
    },
    userWallet(){
        return reqGet.call(this,'luck/wallet/walletdetail')
    }
}

function reqGet(url){
    return this.baseGet(url)
}
function reqPost(url,data){
    return this.basePost(url,data)
}